package com.chen.blog.service;

import com.chen.blog.common.api.CommonResult;
import com.chen.blog.model.Comment;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.Map;

/**
 * <p>
 * 服务
 * </p>
 *
 * @author chen
 * @since 2022-01-24
 */
public interface CommentService extends IService<Comment> {

    /**
     * 检索指定博客下的评论功能
     *
     * @param id
     * @param currentPage
     * @param pageSize
     * @param map
     * @return
     */
    CommonResult getCommentByBlogId(Integer id, Integer currentPage, Integer pageSize, Map<String, Object> map);
}
